

#include "unity.h"
#include "unity_fixture.h"

#include "Debug.h"
#include "BSP_Sleep.h"

#include <phApp_Init.h>
#include <Reader/Reader.h>

#define LISTEN_PHASE_TIME_MS		10


TEST_GROUP(Felica);


TEST_SETUP(Felica)
{
	reader.hfFlags = TAG_MASK_MIFARE;
	Reader_NFC_LoadProfile(TAG_MASK_MIFARE, 0, 0, 0);
}

TEST_TEAR_DOWN(Felica)
{
	Reader_NFC_RfOff();
}


TEST(Felica, Poll)
{
	SimpleTag_T simpleTag;
	
	while(1){
		Reader_NFC_Discovery(&simpleTag);
		BSP_Sleep_Ms(500);
	}
}




